NetworkBoundImageFactory

An ImageFactory whose bytes may come from a local cache OR the network. The render resource cache decodes it in two phases: createCachedImage on the local-retrieval lane (cache-only, null on a miss) then createImage on the remote lane only on a miss — keeping slow network fetches off the lane shared with placemark icons and cache-hit tiles.

Functions

Link copied to clipboard
abstract suspend fun createCachedImage(): UIImage?

Cache-only decode; returns null on a local miss WITHOUT touching the network.

Link copied to clipboard
abstract suspend fun createImage(): UIImage?